﻿using MediatR;
using SmartCity.ProcessEngine.Domain.Entities;
using SmartCity.ProcessEngine.ErrorCode;

namespace SmartCity.ProcessEngine.Api.Write.Application.Command.EventHandling
{
    /// <summary>
    /// 创建新的流程实例的请求命令
    /// </summary>
    public class CreateInstanceCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 流程表单Id
        /// </summary>
        public long FormId { get; set; }
        /// <summary>
        /// 实例内容
        /// </summary>
        public string FormContent { get; set; }
       
        /// <summary>
        /// 申请人名称
        /// </summary>
        public string StarterName { get; set; }
        ///// <summary>
        ///// 当前节点id  :是变化的,随着流程实例的推进,节点id不断变化
        ///// </summary>
        //public long CurrentNodeId { get; set; }
        ///// <summary>
        ///// 当前节点名称
        ///// </summary>
        //public string CurrentNodeName { get; set; }
        ///// <summary>
        ///// 当前操作人名称
        ///// </summary>
        //public string CurrentOperatorName { get; set; }
   
 
    
    }

}
